Cut user-selected text via DXL

I've used the following, posted by ePiallat in Feb 2009, to copy selected text :-

callStdItem_(clipCopyFlatItem)
string strRichString = stringOf(richClip)
print "Selected Text = " (plainText strRichString) "\n"

I'm struggling to find an alternative that will cut the selected text - can anyone help?
SystemAdmin - Fri Dec 14 00:49:06 EST 2012

Re: Cut user-selected text via DXL
SystemAdmin - Fri Dec 14 02:36:41 EST 2012

Hi!

Didn't try it, but I think that clipCutItem works…

Re: Cut user-selected text via DXL
SystemAdmin - Fri Dec 14 02:47:32 EST 2012

SystemAdmin - Fri Dec 14 02:36:41 EST 2012
Hi!

Didn't try it, but I think that clipCutItem works…

Many Thanks, that works. I'd tried clipCutFlatItem - seemed logical!

Re: Cut user-selected text via DXL
SystemAdmin - Fri Dec 14 02:53:55 EST 2012

SystemAdmin - Fri Dec 14 02:47:32 EST 2012
Many Thanks, that works. I'd tried clipCutFlatItem - seemed logical!

clipCutItem corresponds to Module Editor -> Edit -> Cut
For Copy there are the two entries
Edit -> Copy -> Copy (=clipCopyFlatItem) and ... Edit -> Copy -> Copy Objects with hierarchy (=clipCopyHierItem)

Re: Cut user-selected text via DXL
SystemAdmin - Fri Dec 14 03:35:21 EST 2012

SystemAdmin - Fri Dec 14 02:53:55 EST 2012
clipCutItem corresponds to Module Editor -> Edit -> Cut
For Copy there are the two entries
Edit -> Copy -> Copy (=clipCopyFlatItem) and ... Edit -> Copy -> Copy Objects with hierarchy (=clipCopyHierItem)

Thanks again Mike. I got myself a little confused with the term "item" as I was cutting selected text from "Object Text", not a complete object or selection of objects. More functions that need documenting!!